<?php // echo $this->Element('Nav/maps');?>
<div id ="chuyengia">
<?php foreach ($arrVote as $itemVot){?>
<div class="item-categ clearfix">
 <div id="ava" style="float: left;"><img src="<?php  echo $itemVot['img']; ?>" /></div>
 <div id="text" style="float: left; width:400px;">
 	<span  class="name"><?php echo $itemVot['name'] ;?></span>
 	<span class="default">Đã bình chọn :</span>
 	<div class="star name" >
 	 <?php foreach($itemVot['star_class'] AS $itemStar){?> 
        <span class="<?php echo $itemStar; ?>">&nbsp;</span>
     <?php } ?>
     </div>
     <div class="spam">
     </div>
     <div class="create-date"><?php echo $itemVot['create'] ?></div>
     <div class="conntent">
     <span style="float: left;"> <?php echo $itemVot['comments']?></span>
</div>
 </div>
</div> 
<?php } ?>
</div>
<script type="text/javascript">
$(document).ready(function(){
	$(".item-categ").hover(
			  function () {
			    $('.spam').append('<div class="spam-hover"><span style="float: left;"> spam </span><div class="view-spam name"></div></div>');
			  },
			  function () {
				  $('.spam').empty();
			  }
	);

	$('.spam-hover').live('click',function(){
		
	});
	
});
</script>